package com.apimanage.user.mapper;

import com.apimanage.user.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
 * 用户Mapper接口
 *
 * @author API管理平台
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据用户名查询用户
     */
    User findByUsername(String username);

    /**
     * 根据手机号查询用户
     */
    User findByPhone(String phone);

    /**
     * 根据邮箱查询用户
     */
    User findByEmail(String email);
}